package com.alks.entity.data.entity;


import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

import java.math.BigDecimal;
import java.util.Date;

/**
 * @author:xxxxx
 * @create: 2023-06-17 14:18
 * @Description: 型体报价资料
 */
@Getter
@Setter
@NoArgsConstructor
@ApiModel
@TableName("YF_STYLE_COST")
public class QuotationTypeDetail {
    @ApiModelProperty("报价型体")
    private String style;
    @ApiModelProperty("单号")
    private String slipNo;
    @TableField(value = "COMPANY_ID" , fill = FieldFill.INSERT)
    @ApiModelProperty("companyId")
    private String companyId;
    @ApiModelProperty("序号")
    private String seqNo;
    @ApiModelProperty("材料类型")
    private String mtlType;
    @ApiModelProperty("颜色代号")
    private String mtlNo;
    @ApiModelProperty("部位")
    private String partName;
    @ApiModelProperty("材料名称")
    private String mtlName;
    @ApiModelProperty("材料颜色")
    private String mtlColor;
    @ApiModelProperty("颜色")
    private String color;
    @ApiModelProperty("规格")
    private String mtlSpec;
    @ApiModelProperty("单位")
    private String mtlUnit;
    @ApiModelProperty("供应商")
    private String vendor;
    @ApiModelProperty("项目类型")
    private String mtlProperty;
    @ApiModelProperty("币别")
    private String currency;
    @ApiModelProperty("单耗")
    private BigDecimal stdUsage;
    @ApiModelProperty("中耗")
    private BigDecimal midUsage;
    @ApiModelProperty("报价单耗")
    private BigDecimal costUsage;
    @ApiModelProperty("材料单价")
    private BigDecimal price;
    @ApiModelProperty("加工单价")
    private BigDecimal jgPrice;
    @ApiModelProperty("金额")
    private BigDecimal amt;
    @ApiModelProperty("备注")
    private String remark;
    @TableField(value = "SLIP_DATE" , fill = FieldFill.INSERT)
    @ApiModelProperty("数据插入时间")
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    private Date slipDate;
    @ApiModelProperty("系统时间")
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    private Date sysDate;
    @ApiModelProperty("当前操作人")
    private String sysUser;
    @ApiModelProperty("0 删除 1 正常展示 ")
    private Integer cfmFlag;
}
